projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
89a6478
)
libxenguest: Remove unused static inline function is_loadable_phdr()
author
Keir Fraser
<keir.fraser@citrix.com>
Wed, 2 Sep 2009 15:15:05 +0000
(16:15 +0100)
committer
Keir Fraser
<keir.fraser@citrix.com>
Wed, 2 Sep 2009 15:15:05 +0000
(16:15 +0100)
Signed-off-by: Christoph Egger <Christoph.Egger@amd.com>
tools/libxc/xc_hvm_build.c
patch
|
blob
|
history
diff --git
a/tools/libxc/xc_hvm_build.c
b/tools/libxc/xc_hvm_build.c
index e20f5ac862866ef8e86b5d87fac11b65bfa4d6f4..c460d97e17433568667f4ecd91700d588ef9eaa9 100644
(file)
--- a/
tools/libxc/xc_hvm_build.c
+++ b/
tools/libxc/xc_hvm_build.c
@@
-342,12
+342,6
@@
static int xc_hvm_build_internal(int xc_handle,
return setup_guest(xc_handle, domid, memsize, target, image, image_size);
}
-static inline int is_loadable_phdr(Elf32_Phdr *phdr)
-{
- return ((phdr->p_type == PT_LOAD) &&
- ((phdr->p_flags & (PF_W|PF_X)) != 0));
-}
-
/* xc_hvm_build:
* Create a domain for a virtualized Linux, using files/filenames.
*/